//
//  LWXHomeListCell.m
//  EPA
//
//  Created by lanou3g on 16/4/20.
//  Copyright © 2016年 Liuwx. All rights reserved.
//

#import "LWXHomeListCell.h"

@interface LWXHomeListCell()

@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UIImageView *titleImageView;
@property (weak, nonatomic) IBOutlet UILabel *contentLabel;


@end


@implementation LWXHomeListCell

- (void)layoutSubviews {
    
    self.titleLabel.text = self.model.title;
    [self.titleImageView sd_setImageWithURL:[NSURL URLWithString: self.model.coverimg]];
    self.contentLabel.text = self.model.content;
}


- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
